package com.sdx.exception;

public enum SdxError {
	NOT_FOUND(20010,"没找到内容"),
	JSON_PARSE_ERROR(10010,"解析json异常"),
	ALIPAY_ERROR(30010,"支付宝支付接口异常"),
	WXPAY_ERROR(30050,"微信支付接口异常"),
	HTTP_ERROR(40010,"http请求异常"),
	CHECKSIGN_FAIL(50010,"签字校验失败");
	private int code;
	private String name;
	SdxError(int code,String name) {
		this.code = code;
		this.name = name;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
